package com.hzncc.scaffold.service;

import com.hzncc.scaffold.core.ResultT;
import com.hzncc.scaffold.entity.Other.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzncc.scaffold.entity.Vo.CommitCourseVo;
import com.hzncc.scaffold.entity.Vo.CourseDataListVo;
import com.hzncc.scaffold.entity.Vo.ScheduledAnswerVo;

import java.util.List;

/**
 * <p>
 * 课程表 服务类
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
public interface CourseService extends IService<Course> {
    public ResultT saveCourse(Course course);

    public ResultT updateCourse(Course course);

    public ResultT deleteCourse(Integer courseId);

    public ResultT search(Course course);

    public ResultT commit(CommitCourseVo commitCourseVo);

    public List<CourseDataListVo> courseDataList(Integer pageNum, Integer pageSize, String keyword, String startTime, String endTime, Integer majorId);

    public ResultT commitPaper(ScheduledAnswerVo scheduledAnswerVo);

    ResultT tasKcommitPaper(ScheduledAnswerVo scheduledAnswerVo);
}
